<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <link rel="stylesheet" href="../css/reset.css">
    <link rel="stylesheet" href="../css/swiper.css">
    <link rel="stylesheet" href="http://at.alicdn.com/t/font_1516407_rud7f3pybu9.css">
    <style>
        .box {
            width: 100%;
            padding-bottom: 20px;
        }

        .topnav {
            width: 100%;
            background-color: #f4f4f4;
            height: 30px;
            line-height: 30px;
            color: #666666;
            font-size: 13px;
            padding: 10px;
            margin: 20px 0px 20px 0px;
        }
        .merchant{
            display: flex;
            
        }
        .merchant >div{
            flex-direction:column;
        }
        

        .merchant .left {
            width: 39%;
        }
        .merchant .auto{
            width: 35%;
        }
        .merchant .right{
            width: 26%;
        }

        /* 轮播图 */
        .swiper-container {
            height: 50px;
        }

        .merchant .left>div {
            width: 100%;
        }

        .merchant .left .zhaopian img {
            width: 100%;
        }

        .swiper-slide .zhaopian {
            width: 95%;
        }

        .swiper-slide .zhaopian img {
            width: 100%;
        }
        .swiper-button-next, .swiper-container-rtl .swiper-button-prev{
            width: 30%;
            height: 30%;
            right:-40px
            
        }
        .swiper-button-prev, .swiper-container-rtl .swiper-button-next{
            width: 30%;
            height: 30%;
            left:-50px
        }
        .swiper-button-prev, .swiper-button-next{
            top: 40px;
        }

        .auto {
            padding: 10px 30px;
        }
        .auto .header{
            line-height: 40px;
            font-size: 25px;
        }
        .auto .auta li{
            width: 100%;
            line-height: 40px;
        }
        .auto .auta {
            border-top: 1px solid #e3e3e3;
            border-bottom: 1px solid #e3e3e3;
            padding-top: 3%;
            padding-bottom: 3%;
            margin-top: 5%;
            margin-bottom: 5%;
        }
        .auto .auta i{
            margin-right: 10px;
            color: #498e3d;
        }
        .auto .buttom p{
            font-size: 14px;
            color:#666666 ;
        }
        .merchant .right{
            background-color: #f4fff2;
        }
        .box .column{
            display: flex;
            margin: 20px 0px ;
            padding: 10px 0px;

            width: 100%;
        border-top: 1px solid #e7e7e7;
        border-bottom: 1px solid #e7e7e7;
        }
        .box .column ul{
            display: flex;
        }
        .box .column ul li{
            padding: 5px;
            flex-direction:column;
            margin-left: 15px;
            
        }
        .box .column span {
line-height: 30px;
        }
        .neirong{
            width: 100%;
            display: flex;
        }
        .neirong .zhonglei:nth-child(4){
            margin-right:0% ; 
        }
        .neirong>div{
            margin-right:2.666666% ;
            flex-direction: column;
            width: 23%;
        }
        .neirong div img {
            width: 100%;
        }
    </style>
</head>

<body>
    <div class="box">
        <div class="topnav">
            <span>当前位置:&nbsp; 首页 &nbsp;>全部商品&nbsp;>苹果&nbsp;>阿富汗</span>
        </div>
        <div class="merchant">
            <div class="left">
                <div class="zhaopian">
                    <img src="../img/lym/shangjia-rou.png" alt="">
                </div>
                <div>
                    <div class="swiper-container">
                        <div class="swiper-wrapper">
                            <div class="swiper-slide">
                                <div class="zhaopian">
                                    <img src="../img/lym/shangjia-rou.png" alt="">
                                </div>
                            </div>
                            <div class="swiper-slide">
                                <div class="zhaopian">
                                    <img src="../img/lym/shangjia-rou.png" alt="">
                                </div>
                            </div>
                            <div class="swiper-slide">
                                <div class="zhaopian">
                                    <img src="../img/lym/shangjia-rou.png" alt="">
                                </div>
                            </div>
                            <div class="swiper-slide">
                                <div class="zhaopian">
                                    <img src="../img/lym/shangjia-rou.png" alt="">
                                </div>
                            </div>
                            <div class="swiper-slide">Slide 2</div>
                            <div class="swiper-slide">Slide 3</div>
                        </div>
                        <!-- 如果需要导航按钮 -->
                        <div class="swiper-button-prev"></div>
                        <div class="swiper-button-next"></div>
                    </div>
                </div>
            </div>
            <div class="auto">
                <div class="header">
                    <strong>礼拜五旗舰店</strong>
                </div>
                <div class="auta">
                    <ul>
                        <li><i class="icon iconfont  icon-tubiao-"></i>营业时间：全天24小时 <span>￥62/人</span></li>
                        <li><i class="icon iconfont  icon-shouji"></i>1303423442</li>
                        <li><i class="icon iconfont  icon-dizhi-active"></i>浙江省温岭市人民路261西侧</li>
                    </ul>
                </div>
                <div class="buttom">
                        <strong>商家公告:</strong> 
                        <p>本店有优惠政策，本店最新的优惠政策来本店消费的男士可以获得，九折到四折的优惠打折活动</p>
                </div>
            </div>
            <div class="right">

            </div>
        </div>
        <div class="column">
            <span>分类：</span>
        </div>
        <div class="neirong">
        </div>
        <div class="page-turner">
        </div>
    </div>
</body>
<script src="../js/swiper.js"></script>
<script src="../js/jquery-3.4.1.js"></script>
<script>
    var mySwiper = new Swiper('.swiper-container', {
        slidesPerView: 4,
        slidesPerGroup: 4,
        // 如果需要前进后退按钮
        nextButton: '.swiper-button-next',
        prevButton: '.swiper-button-prev',
    })    




   var oul=$('<ul>').appendTo('.column');
   for(var i=0;i<7;i++){
       $('<li>').appendTo(oul).html('全部');
   }

   //便利
   for (var a = 0; a <4; a++) {
            var zhonglei = $('<div>').appendTo($('.neirong')).addClass('zhonglei');
            $('<img>').appendTo(zhonglei).attr('src', '../img/lym/lizhi.png')
            $('<strong>').appendTo(zhonglei).html('新西兰佳沛黄金果');
            $('<br>').appendTo(zhonglei)
            $('<span>').appendTo(zhonglei).html('果肉绵密，花蜜般的甘甜百吃不厌');
            var jiage=$('<div>').appendTo(zhonglei).addClass('jiage');
            $('<strong>').appendTo(jiage).html('￥28.80 &nbsp;&nbsp;');
                    $('<span>').appendTo(jiage).html('￥40.00');
                            $('<i>').appendTo(jiage).addClass('icon iconfont  icon-gouwuche');
        }
</script>

</html>